import java.util.Arrays;

public class ArrayCopy {
    public static void main(String[] args) {
        int [] src={1,2,3,4,5,6};
        int [] desc=new int[10];
        System.arraycopy(src,1,desc,3,4);
        System.out.println(Arrays.toString(src));
        System.out.println(Arrays.toString(desc));
    }
}
